//
//  UIImage+JO.m
//  新浪微博模拟
//
//  Created by song on 15/3/31.
//  Copyright (c) 2015年 song. All rights reserved.
//

#import "UIImage+JO.h"

@implementation UIImage (JO)

//+(UIImage *)imageNamed:(NSString *)name
//{
//    
//}

+(UIImage *)resizeImageWithName:(NSString *)name
{
    UIImage *image = [UIImage imageNamed:name];
    
    return [image stretchableImageWithLeftCapWidth:image.size.width * 0.5 topCapHeight:image.size.height *0.5];
}

@end
